<?php
$this->pageTitle=Yii::app()->name . ' - Site Settings';

$this->h1 = 'Site Settings';
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'perfomance-form',
	'enableAjaxValidation'=>false,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>
	
	<p class="note">Fields with <span class="required">*</span> are required.</p>
	
	<?php echo $form->errorSummary($model); ?>

	<div class="row clear">
		<?php echo $form->labelEx($model,'siteName'); ?>
		<?php echo $form->textField($model,'siteName',array('style'=>'width:300px;','maxlength'=>255)); ?>
		<?php echo $form->error($model,'siteName'); ?>
	</div>	

	<div class="row clear">
		<?php echo $form->labelEx($model,'systemEmail'); ?>
		<?php echo $form->textField($model,'systemEmail',array('style'=>'width:300px;','maxlength'=>255)); ?>
		<?php echo $form->error($model,'systemEmail'); ?>
	</div>	

	<!--<div class="row clear">
		<?php //echo $form->labelEx($model,'theme'); ?>
		<?php //echo $form->dropDownList($model,'['.$type.']theme',array('classic'=>'Classic'),array('maxlength'=>255)); ?>
		<?php //echo $form->error($model,'theme'); ?>
	</div>	-->
	
	<div class="row buttons">
		<?php echo CHtml::submitButton('Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->